package com.maxlen.common.rabbitMQConstant;

public enum OrderRabbitMQConstant {

    ORDER_EVENT_EXCHANGE("order-event-exchange"),

    ORDER_ORDER_DELAY_QUEUE("order.order.delay.queue"),
    ORDER_ORDER_RELEASE_QUEUE("order.order.release.queue"),
    ORDER_COUPON_RELEASE_QUEUE("order.coupon.release.queue"),
    ORDER_FINISH_USER_QUEUE("order.finish.user.queue"),
    ORDER_FINISH_WARE_QUEUE("order.finish.ware.queue"),

    ORDER_ORDER_DELAY_BINDING("order.order.delay.queue"),
    ORDER_ORDER_RELEASE_BINDING("order.order.release.queue"),
    ORDER_RELEASE_OTHER("order.release.other.#"),
    ORDER_FINISH("order.finish.#"),

    SEND_ORDER_RELEASE_OTHER("order.release.other");

    private String key;

    OrderRabbitMQConstant(String key) {
        this.key = key;
    }

    public String getKey() {
        return key;
    }

}
